home *** CD-ROM | disk | FTP | other *** search
/ Aminet 28 / Aminet 28 (1998)(GTI - Schatztruhe)[!][Dec 1998].iso / Aminet / dev / src / GLperf3.12-src.lha / GLperf / QuadStrp.h < prev    next >
Encoding:
C/C++ Source or Header  |  1996-08-31  |  2.5 KB  |  79 lines

  1. /*
  2.  *   (C) COPYRIGHT International Business Machines Corp. 1993
  3.  *   All Rights Reserved
  4.  *   Licensed Materials - Property of IBM
  5.  *   US Government Users Restricted Rights - Use, duplication or
  6.  *   disclosure restricted by GSA ADP Schedule Contract with IBM Corp.
  7.  
  8. //
  9. // Permission to use, copy, modify, and distribute this software and its
  10. // documentation for any purpose and without fee is hereby granted, provided
  11. // that the above copyright notice appear in all copies and that both that
  12. // copyright notice and this permission notice appear in supporting
  13. // documentation, and that the name of I.B.M. not be used in advertising
  14. // or publicity pertaining to distribution of the software without specific,
  15. // written prior permission. I.B.M. makes no representations about the
  16. // suitability of this software for any purpose.  It is provided "as is"
  17. // without express or implied warranty.
  18. //
  19. // I.B.M. DISCLAIMS ALL WARRANTIES WITH REGARD TO THIS SOFTWARE, INCLUDING ALL
  20. // IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS, IN NO EVENT SHALL I.B.M.
  21. // BE LIABLE FOR ANY SPECIAL, INDIRECT OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES
  22. // WHATSOEVER RESULTING FROM LOSS OF USE, DATA OR PROFITS, WHETHER IN AN ACTION
  23. // OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF OR IN
  24. // CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.
  25. //
  26. // Author:  John Spitzer, IBM AWS Graphics Systems (Austin)
  27. //
  28. */
  29.  
  30. #if (defined(INC_REASON)) && (INC_REASON == INFO_ITEM_STRUCT)
  31. #include "Polygonl.h"
  32.     int twistsPerStrip;
  33. #elif (defined(INC_REASON)) && (INC_REASON == INFO_ITEM_ARRAY)
  34. #include "Polygonl.h"
  35.     {
  36.         TwistsPerStrip,
  37.         "Twists Per Quad Strip",
  38.         offset(twistsPerStrip),
  39.         RangedInteger,
  40.         {
  41.             { 0 },
  42.             { 100000 },
  43.         },
  44.         { 0 }
  45.     },
  46.     {
  47.         0
  48.     }
  49. #else  /* INC_REASON not defined, treat as plain include */
  50. #ifndef _QuadStrp_h
  51. #define _QuadStrp_h
  52.  
  53. #include "Polygonl.h"
  54. #include "General.h"
  55. #include "TestName.h"
  56. #include "PropName.h"
  57. #include "Global.h"
  58. #include "AttrName.h"
  59. #ifdef WIN32
  60. #include <windows.h>
  61. #endif
  62. #include <GL/gl.h>
  63. #include <GL/glu.h>
  64. #include "Random.h"
  65.  
  66. typedef struct _QuadStrip {
  67. #define INC_REASON INFO_ITEM_STRUCT
  68. #include "QuadStrp.h"
  69. #undef INC_REASON
  70. } QuadStrip, *QuadStripPtr;
  71.  
  72. QuadStripPtr new_QuadStrip();
  73. void delete_QuadStrip(TestPtr);
  74. TestPtr QuadStrip__Copy(TestPtr);
  75. void QuadStrip__Layout(VertexPtr);
  76.  
  77. #endif /* file not already included */
  78. #endif /* INC_REASON not defined */
  79.